<#include "/common/layout.html"> 
<@layout title="123">
<script type="text/javascript" src="/js/easyui/easyui_grid.js"></script>
<script type="text/javascript">
var datagrid;
var model_name = "/customerAddress";
var model_title="会员收货地址";
	$(function() {
		datagrid=$('#form_datagrid').datagrid({
		 	url:model_name+'/grid',
		 	columns:[[    
		        {field:'id',title:'编号',width:100,checkbox:true},
		        {field:'username',title:'用户名',width:100},
		        {field:'alias',title:'地址别名',width:100},
		        {field:'prov',title:'省',width:80},
		        {field:'city',title:'市',width:80},
		        {field:'area',title:'区',width:80},
		        {field:'address',title:'地址',width:200},
		        {field:'code',title:'邮编',width:80},
		        {field:'def_addr',title:'默认地址',width:80,
		        	formatter:function(value,row,index){
						return value==1?"是":"否";
					}},
		        {field:'consignee',title:'收货人',width:100},
		        {field:'phone',title:'收货人电话',align:'right',width:100}
		    ]]
		})
	})
</script>
<script type="text/javascript" src="/js/easyui/easyui_grid_common.js"></script>

</head>
<#include "/common/seach.html" />
<@seach>
<td>地址</td>
<td><input type="text" name="seachLike_address"></td>
</@seach>
</@layout>